﻿<phone:PhoneApplicationPage 
    x:Class="STEM123.CreateSlides"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="728"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <ImageBrush ImageSource="/STEM123;component/STEMBackground.png" Stretch="None" />
        </Grid.Background>
        <controls:Panorama Name="PanSlides" Title="Term">

            <!--Panorama item one-->
            <controls:PanoramaItem Header="Question 1">
                <Grid>
                    <TextBlock Name="txtQuestionGuide0" Text="Choose a question." TextWrapping="Wrap" FontWeight="Bold" Height="35" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="24" />
                    <ListBox Name="listQuestions0" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,40,0,0" Height="225" SelectionChanged="listQuestion_Tap" Tag="0" FontSize="28">
                    </ListBox>
                    <TextBlock Name="txtAnswerGuide0" Text="Choose, how you want to answer." TextWrapping="Wrap" FontWeight="Bold" Height="35" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,310,0,0" FontSize="24" />
                    <Button x:Name="btnText0" HorizontalAlignment="Left" VerticalAlignment="Bottom" Tap="btnText_Tap" BorderThickness="1" Width="96" Height="96" Tag="0">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/iconText.png" />
                        </Button.Background>
                    </Button>
                    <Button x:Name="btnAudio0" HorizontalAlignment="Center" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.5" Tap="btnAudio_Tap" BorderThickness="1" Width="96" Height="96" Tag="0">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/microphone.png" />
                        </Button.Background>
                    </Button>
                    <Button x:Name="btnVideo0" HorizontalAlignment="Right" VerticalAlignment="Bottom" Tap="btnVideo_Tap" BorderThickness="1" Width="96" Height="96" Tag="0">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/iconAV.png" />
                        </Button.Background>
                    </Button>
                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item two-->
            <controls:PanoramaItem Header="Question 2">
                <Grid>
                    <TextBlock Name="txtQuestionGuide1" Text="Choose a question." TextWrapping="Wrap" FontWeight="Bold" Height="35" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="24" />
                    <ListBox Name="listQuestions1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,40,0,0" Height="225" SelectionChanged="listQuestion_Tap" Tag="1" FontSize="28">
                    </ListBox>
                    <TextBlock Name="txtAnswerGuide1" Text="Choose, how you want to answer." TextWrapping="Wrap" FontWeight="Bold" Height="35" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,310,0,0" FontSize="24" />
                    <Button x:Name="btnText1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Tap="btnText_Tap" BorderThickness="1" Width="96" Height="96" Tag="1">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/iconText.png" />
                        </Button.Background>
                    </Button>
                    <Button x:Name="btnAudio1" HorizontalAlignment="Center" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.5" Tap="btnAudio_Tap" BorderThickness="1" Width="96" Height="96" Tag="1">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/microphone.png" />
                        </Button.Background>
                    </Button>
                    <Button x:Name="btnVideo1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Tap="btnVideo_Tap" BorderThickness="1" Width="96" Height="96" Tag="1">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/iconAV.png" />
                        </Button.Background>
                    </Button>
                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item three-->
            <controls:PanoramaItem Header="Question 3">
                <Grid>
                    <TextBlock Name="txtQuestionGuide2" Text="Choose a question." TextWrapping="Wrap" FontWeight="Bold" Height="35" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="24" />
                    <ListBox Name="listQuestions2" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,40,0,0" Height="225" SelectionChanged="listQuestion_Tap" Tag="2" FontSize="28">
                    </ListBox>
                    <TextBlock Name="txtAnswerGuide2" Text="Choose, how you want to answer." TextWrapping="Wrap" FontWeight="Bold" Height="35" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,310,0,0" FontSize="24" />
                    <Button x:Name="btnText2" HorizontalAlignment="Left" VerticalAlignment="Bottom" Tap="btnText_Tap" BorderThickness="1" Width="96" Height="96" Tag="2">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/iconText.png" />
                        </Button.Background>
                    </Button>
                    <Button x:Name="btnAudio2" HorizontalAlignment="Center" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.5" Tap="btnAudio_Tap" BorderThickness="1" Width="96" Height="96" Tag="2">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/microphone.png" />
                        </Button.Background>
                    </Button>
                    <Button x:Name="btnVideo2" HorizontalAlignment="Right" VerticalAlignment="Bottom" Tap="btnVideo_Tap" BorderThickness="1" Width="96" Height="96" Tag="2">
                        <Button.Background>
                            <ImageBrush ImageSource="/STEM123;component/Images/iconAV.png" />
                        </Button.Background>
                    </Button>
                </Grid>
            </controls:PanoramaItem>
        </controls:Panorama>
    </Grid>
    <!--Sample code showing usage of ApplicationBar-->
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True" Mode="Minimized">
            <shell:ApplicationBarIconButton IconUri="/Images/play.png" Text="play" Click="playContent" />
            <shell:ApplicationBarIconButton IconUri="/Images/upload.png" Text="publish" Click="publishContent" />
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>